export function Test() {
    const songs = [
        { id: 1, name: '痴心绝对' },
        { id: 2, name: '像我这样的人' },
        { id: 3, name: '南山南' }
    ]
    return (
        <div className="area">
            <h1>1.Test:列表渲染</h1>
            {songs.map(el=><div key={el.id}>{el.name}</div>)}
            {/* {songs.map((el,index)=><div key={index}>{el.name}</div>)} */}
        </div>
    )
}
